package com.clt.web.common;

import com.clt.web.service.IWeixinKitService;
import com.clt.web.utils.SpringContextsUtil;

/**
 * 微信基本信息工厂
 *
 */
public class WeixinKitFactory {
	private static IWeixinKitService weixinKit;
	
	public WeixinKitFactory() {

	}

	public static IWeixinKitService getWeixinKit() {
		if (weixinKit == null) {
			weixinKit = (IWeixinKitService) SpringContextsUtil.getBean("weixinKitService");
		}
		return weixinKit;
	}

	public void setWeixinKit(IWeixinKitService weixinKit) {
		WeixinKitFactory.weixinKit = weixinKit;
	}
	
}
